import request from '@/utils/request'

//测试前后端请求
export function login(query) {
    return request({
        url:'/account/login',
        headers: {
            isToken: false
        },
        method:'post',
        params: query
    })
}
export function logout() {
    return request({
        url:'/account/logout',
        headers: {
            isToken: true
        },
        method:'post'
    })
}